//
//  HomeAPI.h
//  RainbowFM
//
//  Created by Kratos on 14/12/20.
//  Copyright (c) 2014年 RB. All rights reserved.
//  首页API

#import <Foundation/Foundation.h>

@interface HomeAPI : NSObject

/**
 * 首页结构
 * @return <#return value description#>
 * @author Kratos
 */
-(void)fetchHomeStructure:(void (^)(NSArray *structure, NSString *msg))res;

/**
 * 获取版本更新
 * @return <#return value description#>
 * @author Kratos
 */
-(void)fetchEdit:(void (^)(NSArray *structure, NSString *msg))res;


/**
 * 发送短信
 * @param phone 电话
 * @param content 内容
 * @return <#return value description#>
 * @author Kratos
 */
-(void)sendMsgWithPhone:(NSString *)phone
                content:(NSString *)content
                 result:(void (^)(NSDictionary *result, NSString *msg))res;



/**
 * 查询限定的车速
 * @return <#return value description#>
 * @author Kratos
 */
-(void)querySpeed:(void (^)(NSDictionary *result, NSString *msg))res;


@end
